/*
 * XMLArbre.h
 *
 *  Created on: 12 mars 2012
 *      Author: lsinapayen
 */

#ifndef XMLARBRE_H_
#define XMLARBRE_H_
using namespace std;
#include <string>
#include <vector>
#include "Item.h"
#include "Element.h"
#include "EmptyElement.h"


class XMLArbre {
public:
	XMLArbre();
	virtual ~XMLArbre();
	int afficher();
	void setDeclaration(string * declaration);
	string * getDeclaration();
	void setRacine(Element * racine);
	Element * getRacine();
	void setCommentaires(vector<string> * commentaires);
	vector<string> * getCommentaires();

protected:
	string declaration;
	Element * racine;
	vector<string> commentaires;
};

#endif /* XMLARBRE_H_ */
